package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "t_receipt_order_order")
public class ReceiptOrderOrder extends BaseEntity {

    @Validate
    @Column(length = 20)
    private Long receiptOrderId;

    @Column(length = 20)
    private Long targetId;

    @Column(length = 11)
    private Integer targetType;

    /**
     * 已核销金额
     */
    @Column(length = 20)
    private Long verificatedMoney;

    /**
     * 本次核销金额
     */
    @Column(length = 20)
    private Long verificateMoney;


    // 冗余字段

    @Column(length = 20)
    private Long billDate;

    @Column(length = 30)
    private String billCode;

    @Column(length = 20)
    private Long billPrice;

    public Long getBillDate() {
        return billDate;
    }

    public void setBillDate(Long billDate) {
        this.billDate = billDate;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public Long getBillPrice() {
        return billPrice;
    }

    public void setBillPrice(Long billPrice) {
        this.billPrice = billPrice;
    }

    public Long getVerificatedMoney() {
        return verificatedMoney;
    }

    public void setVerificatedMoney(Long verificatedMoney) {
        this.verificatedMoney = verificatedMoney;
    }

    public Long getVerificateMoney() {
        return verificateMoney;
    }

    public void setVerificateMoney(Long verificateMoney) {
        this.verificateMoney = verificateMoney;
    }

    public Long getReceiptOrderId() {
        return receiptOrderId;
    }

    public void setReceiptOrderId(Long receiptOrderId) {
        this.receiptOrderId = receiptOrderId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }
}
